package file.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author hh
 * @since 2024/12/7
 */
@ConfigurationProperties(ignoreInvalidFields = true)
public class MyConfigProperties {

    /**
     * 上传的文件路径
     */
    private String filePath;

    /**
     * AES加解密key
     */
    private String algorithmKey;

    /**
     * 是否加密
     */
    private boolean encrypt;

    /**
     * 是否启用登录
     */
    private boolean enableLogin;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getAlgorithmKey() {
        return algorithmKey;
    }

    public void setAlgorithmKey(String algorithmKey) {
        this.algorithmKey = algorithmKey;
    }

    public boolean isEncrypt() {
        return encrypt;
    }

    public void setEncrypt(boolean encrypt) {
        this.encrypt = encrypt;
    }

    public boolean isEnableLogin() {
        return enableLogin;
    }

    public void setEnableLogin(boolean enableLogin) {
        this.enableLogin = enableLogin;
    }
}
